diff --git a/gears/asset_attributes.py b/gears/asset_attributes.py
index <HASH>..<HASH> 100644
--- a/gears/asset_attributes.py
+++ b/gears/asset_attributes.py
@@ -19,8 +19,8 @@ class AssetAttributes(object):
 
     @cached_property
     def path_without_extensions(self):
-        if self.extensions:
-            return self.path[:-len(''.join(self.extensions))]
+        if self.suffix:
+            return self.path[:-len(''.join(self.suffix))]
         return self.path
 
     @cached_property
diff --git a/tests/test_asset_attributes.py b/tests/test_asset_attributes.py
index <HASH>..<HASH> 100644
--- a/tests/test_asset_attributes.py
+++ b/tests/test_asset_attributes.py
@@ -36,6 +36,9 @@ class AssetAttributesTests(TestCase):
         check('js/readme', 'js/readme')
         check('js/app.min.js.coffee', 'js/app')
 
+        self.environment.mimetypes.register('.js', 'application/javascript')
+        check('js/app.min.js.coffee', 'js/app.min')
+
     def test_search_paths(self):
 
         def check(path, expected_result):
path_without_extensions removes only suffix now

Earlier it removed all extensions from asset path, so result for
'jquery' and 'jquery.min' was the same.