update minified version and build script