the UI only tracks shares found on your node since the last restart.
Is there a way to make it re-scan the whole sharechain and display all my shares?
Not unless you write the code to do so. The node's efficiency, shares, orphans, dead, etc all reset to 0 upon restart of the node.