Matheus,
I am not sure what you are doing wrong then. I just added a third party library to one of my widgets and it worked fine.
define([
'dojo/on',
'dojo/query',
'./rcolor'
...
function(on, query, rColor, ...
So I have a file called rcolor.js in my widgets folder, and it just works.