Hi Jeffrey,
Minification of files does tend to improve site speed, however, this type of optimization is also often detrimental to a website. It can cause various issues.
For instance, you may refer to this site I found explaining why: https://elegantmarketplace.com/what-is-minification-and-why-is-it-wreaking-havoc-with-so-many-websites/#:~:text=What%20Usually%20Breaks%3F
It would be best to reach out to WP-optimize with regards to how the minify your files. Often, optimization plugins have an option to exclude certain files from a specific optimization setting. With that said, they might know which specific files to exclude to prevent this from happening.
Hope this clarifies. 🙂