Filenames are stripped of extensions

In manifest we remove for example js extension so //= require file.js becomes //= require file. Unfortunately we strip all extensions so jquery.cookie.js becomes jquery