You need to use a versioning system like Git or SVN, and you need to enable metadata as I suggested. Without it you're bound to lose references.
GUIDs of all NGUI scripts in free and full version match, or upgrade wouldn't be possible. If yours don't, then you may have broken things by copying files (instead of transferring via unity package) at some point.