--- a/rb-inotify.gemspec
+++ b/rb-inotify.gemspec
@@ -12,7 +12,7 @@
   spec.homepage    = 'https://github.com/guard/rb-inotify'
   spec.licenses    = ['MIT']
 
-  spec.files         = `git ls-files`.split($/)
+  spec.files         = Dir['lib/**/*']
   spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
   spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
   spec.require_paths = ["lib"]
