Replaces minified file with a new one