Minification breaks plugins functions

When Minification is active, the product image is missing. When excluding a woocommerce-product-options-frontend a JS file from minification, the image is back, but variations in the product stop working.