Try the President's Reorganization Plan Number 1 of 1952, published at 66 Stat.L. 823, 5 USC appendix (or 5 USCS sec. 903 note). Also, the IRS is mentioned, by name, in every annual Congressional appropriation for the Dept of the Treasury since 1954.
The Agency itself, in documents, admits that it just kind of 'bubbled up through the cracks' during the War (The so called 'Civil War').
Its one of the unfortunate facts of history.