[build] Fix .min.js components

deps were bundled in reverse order.