Fix filename for minified JavaScript files

In case your using a dot within the filename (eg. jquery.foo.js)