replace lib by minified version