---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/28896882-can-t-load-it-with-requirejs-on-a-optimized-file?utm_campaign=plugin&utm_content=tracker%2F23157&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F23157&utm_medium=issues&utm_source=github).
Hello, I'm using RequireJS and bower installed jQuery UI 1.11.2, I can make it work with RequireJS, but when I compile the file, jQuery UI is not being loaded before it tries to load selectBoxIt. I made a fork and I wrapped the jquery.selectBoxIt.js with AMD, the modified file can be seen here: https://github.com/andres-torres-marroquin/jquery.selectBoxIt.js/blob/master/src/javascripts/jquery.selectBoxIt.js
Any clue on how to solve this correctly? Thanks.