Build minified script