add minified file and apply version to filenames