Where is build.js? You are using steal.packages?
Can you explain what's going on a little more clearly? I can't follow how I might try recreating this.
If you can give me something like:
stealroot/
a/a.js - steal.packages('b')
steal('c')
b/b.js - steal('can')
c/c.js - steal('jquery')
I will try to recreate and see what's happening. Thanks!